<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        <form action="${pageContext.request.contextPath}/form" method="post">
            姓名： <label><input type="text" name="name"></label><br/>
            年龄：<label><input type="text" name="age"></label>
            <input type="submit" value="提交">
        </form>

        <h3>姓名：${person.name}</h3>
        <h3>年龄：${person.age}</h3>
    </body>
</html>
